package ltd.newbee.mall.service;

import ltd.newbee.mall.controller.vo.NewBeeMallUserVO;
import ltd.newbee.mall.entity.MallUser;
import ltd.newbee.mall.util.PageQueryUtil;
import ltd.newbee.mall.util.PageResult;

import javax.servlet.http.HttpSession;

public interface NewBeeMallUserService {

    PageResult getNewBeeMallUsersPage(PageQueryUtil pageUtil);

    String register(String loginName, String password);

    String login(String loginName, String passwordMD5, HttpSession httpSession);

    NewBeeMallUserVO updateUserInfo(MallUser mallUser, HttpSession httpSession);

    Boolean lockUsers(Integer[] ids, int lockStatus);
}
